package com.bdqn.wf4.cinprovider.dao;

import com.bdqn.wf4.cinbase.pojo.Film;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface FilmMapper {
    List<Film> getFilms(@Param("uname") String uname,
                        @Param("actstar") String actstar, @Param("from") int from,
                        @Param("pageSize") int pageSize);

    int FilmCount(@Param("uname") String uname, @Param("actstar") String actstar);

    int update(Film film);

    Film getById(int id);

    int uadd(Film film);
}
